﻿using System.Collections;
using System.Collections.Generic;
using UnityEngine;

public class sdfsdfsdf : MonoBehaviour
{
    public string m_path = "";

    static string llll { get {  return Application.dataPath.Replace("Assets", "PrecessTexture/ImageLog.txt"); } }

    void Awake()
    {
        m_path = Application.dataPath + "\\";

        Debug.Log("___Awake___" + llll);
    }

    void OnGUI()
    {
        if(GUILayout.Button("GetDirectoryName"))
        {
            Debug.Log("___GetDirectoryName" + System.IO.Path.GetDirectoryName(m_path));
        }

        if (GUILayout.Button("GetFullPath"))
        {
            Debug.Log("___GetFullPath___" + System.IO.Path.GetFullPath(m_path));
        }


        if (GUILayout.Button("Directory.GetParent"))
        {
            Debug.Log("___Directory.GetParent___" + System.IO.Directory.GetParent(m_path).FullName);
        }
    }


}
